ToKeyValuePair Method

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Converts this Pair to a KeyValuePair. The Key part of the KeyValuePair gets the First element, and the Value part of the KeyValuePair gets the Second elements.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public KeyValuePair<TFirst, TSecond> ToKeyValuePair()
Visual Basic (Declaration)
Public Function ToKeyValuePair As KeyValuePair(Of TFirst, TSecond)
Visual C++
public:
KeyValuePair<TFirst, TSecond> ToKeyValuePair ()

Return Value

The KeyValuePair created from this Pair.

See Also